package com.febers.ihealth.utils

import android.content.Context
import android.content.Intent
import android.widget.Toast

fun Context.nav(cls: Class<out Any>) {
    this.startActivity(Intent(this, cls))
}

fun Context.toast(msg: String, duration: Int = Toast.LENGTH_SHORT) {
    Toast.makeText(this, msg, duration).show()
}